home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / math / gle-3.000 / gle-3 / gle / util / manip / makefile.dj < prev    next >
Encoding:
Makefile  |  1995-02-07  |  939 b   |  38 lines

  1. # manip Makefile for MS-DOS and DJGPP by Axel Rohde
  2. include ../../config.i
  3.  
  4. # object files
  5. OBJS =  cell.o cmd.o eval.o filemenu.o \
  6.     fn.o general.o keyword.o \
  7.     manip.o polish.o sub.o token.o \
  8.     var.o turbo.o turboscr.o inkey.o
  9.     
  10. # varargs.o
  11.  
  12. # mjl.o 
  13.  
  14. HEADS = all.h color.h edt.h eval.h keyword.h mygraph.h vaxconio.h 
  15.  
  16. # rules to build manip
  17. manip: $(OBJS) $(HEADS)
  18.     $(CC) -o manip $(CFLAGS) $(OBJS) $(LIBS)
  19.  
  20. manip.o: manip.c $(HEADS)
  21.     $(CC) -c -DGLEPATH=\"$(GLE_PATH)/\" $(CFLAGS) manip.c
  22.  
  23. $(OBJS): $(HEADS)
  24.  
  25. # On DEC 5400 GCC wouldn't create working varargs so CC is used.
  26. varargs.o: varargs.c
  27.     gcc -g -c varargs.c
  28.  
  29.  
  30. turbo.o:  ../../turbo.c ../../all.h
  31.     $(CC) -c -DMANIP $(CFLAGS) ../../turbo.c -o turbo.o
  32.  
  33. turboscr.o:  ../../turboscr.c ../../all.h
  34.     $(CC) -c -DMANIP $(CFLAGS) ../../turboscr.c -o turboscr.o
  35.  
  36. inkey.o:  ../../inkey.c ../../all.h
  37.     $(CC) -c -DMANIP $(CFLAGS) ../../inkey.c -o inkey.o
  38.